package client;

import java.util.HashMap;
import java.util.HashSet;

public class ManageClientConnectServiceThread {
    public static HashMap<String,ClientConnectServiceThread> clientConnectServiceThreadMap = new HashMap();

    //根据用户id来存入线程
    public static void addThreadMap(String userId,ClientConnectServiceThread clientConnectServiceThread)
    {
        clientConnectServiceThreadMap.put(userId,clientConnectServiceThread);
    }
    //根据用户id取出线程
    public static ClientConnectServiceThread getThreadMap(String userId)
    {
        ClientConnectServiceThread clientConnectServiceThread = clientConnectServiceThreadMap.get(userId);
        return clientConnectServiceThread;
    }
}
